#include <iostream>
#include <vector>

using namespace std;

int main()
{
	vector<int> ivec;
	cout<<"enter some number"<<endl;
	int val;
	while(cin>>val)
		ivec.push_back(val);
	for(vector<int>::iterator iter=ivec.begin();iter!=ivec.end();++iter)
	{
		cout<<((*iter%2!=0)?*iter*2 : *iter)<<" ";
	}
	cout<<endl;
	return 0;
}